package com.cl.short_video_java.vo.role;

import com.cl.short_video_java.pojo.SysMenu;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author 付
 * @Date 2024-11-07 18:12
 * @Version 1.0
 * @description 新增或修改role
 * @since 1.0
 */
@Data
public class Role {
	private Integer id;
	@NotEmpty(message = "抱歉，权限名不能为空")
	private String roleName;
	@NotEmpty(message = "抱歉，权限符不能为空")
	private String roleKey;
	private Integer status;
	private List<Long> sysMenuList;
}
